how sine and cosine work. There are any references about how sine and cosine work in here. you can look below.